Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependencies (wisdem, rosco) #327

Merged
merged 1 commit into from
Dec 11, 2024
Merged

Update dependencies (wisdem, rosco) #327

merged 1 commit into from
Dec 11, 2024

Conversation

dzalkind
Copy link
Collaborator

@dzalkind dzalkind commented Dec 6, 2024

Purpose

Update environment yaml so that the latest version of wisdem and rosco are used, in response to an issue #326

Type of change

What types of change is it?
Select the appropriate type(s) that describe this PR

  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (non-backwards-compatible fix or feature)
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes, no API changes)
  • Documentation update
  • Maintenance update
  • Other (please describe)

Testing

Explain the steps needed to test the new code to verify that it does indeed address the issue and produce the expected behavior.

Checklist

Put an x in the boxes that apply.

  • I have run existing tests which pass locally with my changes
  • I have added new tests or examples that prove my fix is effective or that my feature works
  • I have added necessary documentation

@dzalkind dzalkind requested a review from gbarter December 10, 2024 17:59
@dzalkind dzalkind merged commit 15f1d87 into main Dec 11, 2024
36 checks passed
@dzalkind dzalkind deleted the fix_env branch December 11, 2024 20:52
rbehrensdeluna pushed a commit to rbehrensdeluna/QBtoWEIS that referenced this pull request Dec 16, 2024
dzalkind added a commit that referenced this pull request Jan 10, 2025
…#331)

* WEIS v1.4 (#322)

* Viz tool integration (#301)

* utils update for viz tool

* hotfix for length error in viz utils

* slightly improved hotfix

* trim edge case

* working integration with weis

* add text field for reloading diff yaml file

* f-string typo fix to pass py3.11 unit test

* remove duplicated fields on raft opt

* elevate 'weis_viz' to a command within the conda env

* add optimization type

* reformating vizgen and adding 'weis_viz_input_gen' as a command

---------

Co-authored-by: Cory Frontin <[email protected]>
Co-authored-by: sryu <[email protected]>
Co-authored-by: Sora Ryu <[email protected]>
Co-authored-by: Sora Ryu <[email protected]>

* bug fix in vizFileGen and changes to handle Jul 2024 Kestrel updates (#306)

* bug fix in vizFileGen and fixes to handle Jul 2024 Kestrel updates

* change type settings and default channels

* match type with WEIS level

* minor update on type setting - dlc

---------

Co-authored-by: Sora Ryu <[email protected]>
Co-authored-by: Sora Ryu <[email protected]>

* no need to manipulate turbsim grid for olaf anymore (#313)

* Debug arg parsing error while launching the app & Contribute Initial Documentation (#307)

* fix bug of args parse while running app

* delete unnecessary prints

* change horizontal subplots to vertical ones

* initial documentation

* delete readme file

* minor changes on graph layout

* update on kestrel set up

* merge weis viz docs into existing weis docs

* delete initial weis viz documentation

* update on docs after changing opt type setting

* Revise documentation

---------

Co-authored-by: sryu <[email protected]>
Co-authored-by: dzalkind <[email protected]>

* Remove duplicate numpydoc

* Sync readthedocs yaml with WISDEM

* Add numpydoc to environment

* Set up readthedocs inputs: css, js, bibtex

* Remove old input docs

* Fix images for weis viz

* Add input schema docs following WISDEM

* Add input schema files

* Optimization cleanup to fix and conform to viz changes. (#305)

* added updated optimization documentation... in progress.

* fixed rendering of optimization rst file

* add partial table to docs optimization page

* update to optimization doc.

* analysis updates from kestrel

* added some analysis stuff

* update to optimization docs

* recent kestrel changes

* stuff for local work

* viz toolbox simplfied for inclusion in weis tools

* moved viz_toolbox out of examples and refactored

* corrected accidental git deletion

* updates for kestrel push

* added processor edit for DE/GA

* updates to the viz toolbox and analysis notebook

* actually update analysis notebook

* actually update analysis notebook with more updates

* updated example 17, refactored utilities to match Mayank's files/structure

* remove run script

* more progress toward PR

* add readme

* improvements to analysis and README scripts

* reorganize the output directories to have RAFT vs OF subdirs

* OF updates

* update analysis options to bring the cases together

* some more case unification

* updated the analysis script

* update raft analysis script

* of opt updates and refactoring

* upenfast updates

* removed the weis connections to member ids as om design variables

* update openfast analysis

* updated raft analysis notebook

* improvements to analysis script, some for viz tool update

* update to remove remove load_OMsql_temp

* rename new example file

* updates to get parallel evolutionary methods to work

* Remove platform_elem_memid discrete input

* Add index back in

* Set PropPot only if floating

* viz tools fixed, now using safe yaml loading for problem_vars

* update analysis scripts for OF cases.

* updated OF cases for full ride.

* adjusting ex17 controls study for uniformity

* update with kestrel changes

* fixed output script slight break

* Tidy imports

* bring in line with the incoming WISDEM changes

---------

Co-authored-by: dzalkind <[email protected]>

* Add note about mpi4py for windows users

* Fix connections to drivese_post

* Set run directories relative to input files

* Get member ids from modopts

* Tidy OC3 example

* Re-enable testing of OC3 spar

* Send aero-only hub loads to WISDEM

* Disable potential flow modeling for fixed substructures

* Disable second tower mode in OC3 example for now

* align with new orbit changes

* Upgrade mpi (#321)

* use openmdao mpi, import scripts that were pushed out of wisdem

* like in wisdem, import input yaml files only on rank=0 and then broadcast out

* yaml loading logic better integrated in wisdem

* remove outdated call to mpi4py

* Remove temporary simple_types

* Updates for Optimization study (#323)

* added updated optimization documentation... in progress.

* fixed rendering of optimization rst file

* add partial table to docs optimization page

* update to optimization doc.

* analysis updates from kestrel

* added some analysis stuff

* update to optimization docs

* recent kestrel changes

* stuff for local work

* viz toolbox simplfied for inclusion in weis tools

* moved viz_toolbox out of examples and refactored

* corrected accidental git deletion

* updates for kestrel push

* added processor edit for DE/GA

* updates to the viz toolbox and analysis notebook

* actually update analysis notebook

* actually update analysis notebook with more updates

* updated example 17, refactored utilities to match Mayank's files/structure

* remove run script

* more progress toward PR

* add readme

* improvements to analysis and README scripts

* reorganize the output directories to have RAFT vs OF subdirs

* OF updates

* update analysis options to bring the cases together

* some more case unification

* updated the analysis script

* update raft analysis script

* of opt updates and refactoring

* upenfast updates

* removed the weis connections to member ids as om design variables

* update openfast analysis

* updated raft analysis notebook

* improvements to analysis script, some for viz tool update

* update to remove remove load_OMsql_temp

* rename new example file

* updates to get parallel evolutionary methods to work

* Remove platform_elem_memid discrete input

* Add index back in

* Set PropPot only if floating

* viz tools fixed, now using safe yaml loading for problem_vars

* update analysis scripts for OF cases.

* updated OF cases for full ride.

* adjusting ex17 controls study for uniformity

* update with kestrel changes

* fixed output script slight break

* Tidy imports

* bring in line with the incoming WISDEM changes

* Add max_pitch_rate output to omdao_of

* updates from kestrel

* cory's changes from kestrel

* Write OpenFAST output to stdout as a modeling option

* Rename max_pitch_rate_sim

* Load rosco inputs earlier so we have sizes

* Get correct length from array control DVs

* docs for dan

* Fix length of _pc if not array

* Light revisions in optimization, detail platform design options

* Add optimization to index

* Draft some optimization results

* Add calculated channels

* Use calculated channels for pitch_rate, offset outputs

* Compute calculated channels when openfast library is used

* Use openmdao mpi

---------

Co-authored-by: Cory Frontin <[email protected]>

* prep for next release

---------

Co-authored-by: Mayank Chetan <[email protected]>
Co-authored-by: Cory Frontin <[email protected]>
Co-authored-by: sryu <[email protected]>
Co-authored-by: Sora Ryu <[email protected]>
Co-authored-by: Sora Ryu <[email protected]>
Co-authored-by: Sora Ryu <[email protected]>
Co-authored-by: Sora Ryu <[email protected]>
Co-authored-by: Pietro Bortolotti <[email protected]>
Co-authored-by: Sora Ryu <[email protected]>
Co-authored-by: Garrett Barter <[email protected]>

* Update dependencies (wisdem, rosco) (#327)

* Add user-defined mapping and groups through modeling options

* Pin openfast version

* Check user openfast_input_map for previously defined inputs

* Check for openfast_input_map and use in test

* Add DLC images

* Re-wording based on AG's suggestion

* Add all optimization figs

* Set optimization figs

* Tidy parallel docs

---------

Co-authored-by: Mayank Chetan <[email protected]>
Co-authored-by: Cory Frontin <[email protected]>
Co-authored-by: sryu <[email protected]>
Co-authored-by: Sora Ryu <[email protected]>
Co-authored-by: Sora Ryu <[email protected]>
Co-authored-by: Sora Ryu <[email protected]>
Co-authored-by: Sora Ryu <[email protected]>
Co-authored-by: Pietro Bortolotti <[email protected]>
Co-authored-by: Sora Ryu <[email protected]>
Co-authored-by: Garrett Barter <[email protected]>
dzalkind added a commit that referenced this pull request Feb 13, 2025
* Viz tool integration (#301)

* utils update for viz tool

* hotfix for length error in viz utils

* slightly improved hotfix

* trim edge case

* working integration with weis

* add text field for reloading diff yaml file

* f-string typo fix to pass py3.11 unit test

* remove duplicated fields on raft opt

* elevate 'weis_viz' to a command within the conda env

* add optimization type

* reformating vizgen and adding 'weis_viz_input_gen' as a command

---------

Co-authored-by: Cory Frontin <[email protected]>
Co-authored-by: sryu <[email protected]>
Co-authored-by: Sora Ryu <[email protected]>
Co-authored-by: Sora Ryu <[email protected]>

* bug fix in vizFileGen and changes to handle Jul 2024 Kestrel updates (#306)

* bug fix in vizFileGen and fixes to handle Jul 2024 Kestrel updates

* change type settings and default channels

* match type with WEIS level

* minor update on type setting - dlc

---------

Co-authored-by: Sora Ryu <[email protected]>
Co-authored-by: Sora Ryu <[email protected]>

* no need to manipulate turbsim grid for olaf anymore (#313)

* Debug arg parsing error while launching the app & Contribute Initial Documentation (#307)

* fix bug of args parse while running app

* delete unnecessary prints

* change horizontal subplots to vertical ones

* initial documentation

* delete readme file

* minor changes on graph layout

* update on kestrel set up

* merge weis viz docs into existing weis docs

* delete initial weis viz documentation

* update on docs after changing opt type setting

* Revise documentation

---------

Co-authored-by: sryu <[email protected]>
Co-authored-by: dzalkind <[email protected]>

* Remove duplicate numpydoc

* Sync readthedocs yaml with WISDEM

* Add numpydoc to environment

* Set up readthedocs inputs: css, js, bibtex

* Remove old input docs

* Fix images for weis viz

* Add input schema docs following WISDEM

* adjust spar caps opt to wisdem 3p16

* Add input schema files

* Optimization cleanup to fix and conform to viz changes. (#305)

* added updated optimization documentation... in progress.

* fixed rendering of optimization rst file

* add partial table to docs optimization page

* update to optimization doc.

* analysis updates from kestrel

* added some analysis stuff

* update to optimization docs

* recent kestrel changes

* stuff for local work

* viz toolbox simplfied for inclusion in weis tools

* moved viz_toolbox out of examples and refactored

* corrected accidental git deletion

* updates for kestrel push

* added processor edit for DE/GA

* updates to the viz toolbox and analysis notebook

* actually update analysis notebook

* actually update analysis notebook with more updates

* updated example 17, refactored utilities to match Mayank's files/structure

* remove run script

* more progress toward PR

* add readme

* improvements to analysis and README scripts

* reorganize the output directories to have RAFT vs OF subdirs

* OF updates

* update analysis options to bring the cases together

* some more case unification

* updated the analysis script

* update raft analysis script

* of opt updates and refactoring

* upenfast updates

* removed the weis connections to member ids as om design variables

* update openfast analysis

* updated raft analysis notebook

* improvements to analysis script, some for viz tool update

* update to remove remove load_OMsql_temp

* rename new example file

* updates to get parallel evolutionary methods to work

* Remove platform_elem_memid discrete input

* Add index back in

* Set PropPot only if floating

* viz tools fixed, now using safe yaml loading for problem_vars

* update analysis scripts for OF cases.

* updated OF cases for full ride.

* adjusting ex17 controls study for uniformity

* update with kestrel changes

* fixed output script slight break

* Tidy imports

* bring in line with the incoming WISDEM changes

---------

Co-authored-by: dzalkind <[email protected]>

* Add note about mpi4py for windows users

* Fix connections to drivese_post

* Set run directories relative to input files

* Get member ids from modopts

* Tidy OC3 example

* Re-enable testing of OC3 spar

* Send aero-only hub loads to WISDEM

* Disable potential flow modeling for fixed substructures

* Disable second tower mode in OC3 example for now

* align with new orbit changes

* Upgrade mpi (#321)

* use openmdao mpi, import scripts that were pushed out of wisdem

* like in wisdem, import input yaml files only on rank=0 and then broadcast out

* yaml loading logic better integrated in wisdem

* remove outdated call to mpi4py

* Remove temporary simple_types

* Updates for Optimization study (#323)

* added updated optimization documentation... in progress.

* fixed rendering of optimization rst file

* add partial table to docs optimization page

* update to optimization doc.

* analysis updates from kestrel

* added some analysis stuff

* update to optimization docs

* recent kestrel changes

* stuff for local work

* viz toolbox simplfied for inclusion in weis tools

* moved viz_toolbox out of examples and refactored

* corrected accidental git deletion

* updates for kestrel push

* added processor edit for DE/GA

* updates to the viz toolbox and analysis notebook

* actually update analysis notebook

* actually update analysis notebook with more updates

* updated example 17, refactored utilities to match Mayank's files/structure

* remove run script

* more progress toward PR

* add readme

* improvements to analysis and README scripts

* reorganize the output directories to have RAFT vs OF subdirs

* OF updates

* update analysis options to bring the cases together

* some more case unification

* updated the analysis script

* update raft analysis script

* of opt updates and refactoring

* upenfast updates

* removed the weis connections to member ids as om design variables

* update openfast analysis

* updated raft analysis notebook

* improvements to analysis script, some for viz tool update

* update to remove remove load_OMsql_temp

* rename new example file

* updates to get parallel evolutionary methods to work

* Remove platform_elem_memid discrete input

* Add index back in

* Set PropPot only if floating

* viz tools fixed, now using safe yaml loading for problem_vars

* update analysis scripts for OF cases.

* updated OF cases for full ride.

* adjusting ex17 controls study for uniformity

* update with kestrel changes

* fixed output script slight break

* Tidy imports

* bring in line with the incoming WISDEM changes

* Add max_pitch_rate output to omdao_of

* updates from kestrel

* cory's changes from kestrel

* Write OpenFAST output to stdout as a modeling option

* Rename max_pitch_rate_sim

* Load rosco inputs earlier so we have sizes

* Get correct length from array control DVs

* docs for dan

* Fix length of _pc if not array

* Light revisions in optimization, detail platform design options

* Add optimization to index

* Draft some optimization results

* Add calculated channels

* Use calculated channels for pitch_rate, offset outputs

* Compute calculated channels when openfast library is used

* Use openmdao mpi

---------

Co-authored-by: Cory Frontin <[email protected]>

* prep for next release

* adjust paths when relative (path for turbsim exe and path for inflowwind are different) (#328)

* DLC Generation - Refactor and New Cases (#308)

* [DLC] Add skeleton for DLC case input refactoring

* Send openfast outputs to directory of analysis options output

* Start new method of dlc generation

* Use new DLC_generator in OM_OF, single DLC only

* Create functions of things that will happen in each DLC

* Tidy up DLC 5.1 before applying elsewhere

* Add DLC 1.6, generate multiple DLCs

* Tidy up new dlc generator more

* Apply initial conditions in dlc_generator

* Apply olaf parameters

* Refactor dlc generator: combine functions

* Add PSF, windtype, seastate, and label to dlc_options

* Update DLC generator for 6.1:
Turn off generator at shutdown_time
Expand default options
Include wave_mod
Apply PSF
Catch error in first generic_case_input
Only apply ICs in operational DLCs

* Run new DLC generator in gc_LoadInputs

* Apply wind inputs to case_list

* DLC: Adding new versions of DLC 1.x

* Update DLC 1.6, 5.1 generators

* DLC: Add option of using non-turbulent wind in new DLC code

* Add 50-year sea state

* Re-organize order of functions

* Remove yaw_misalign from wind seed calculation, handled by groups now

* Set up DLC 6.3 and re-write generate_new_dlc

* DLC: Finish DLC 1.5 and progress towards 1.2

* Add DLC 6.2

* Get known dlcs from modeling schema

* Add DLC 3.1, regular startup in NTM

* Add DLC 6.4

* Remove DLC 12.1

* Move new dlc generator to original file and name

* Revert inputs for example 05 that tests DLC generator

* Fix small errors in DLC_Generator.py

* Set n_ws_dlc11

* Fix typo in dlc_generator and fix dlc test by removing DLC 6.5 from example 5

* Fix dlc11_ws output, it's the number of wind speeds

* Clean up example 05 modopts

* Fix DLC 11 counter and DLC 64 wind speeds

* Fix a bug where string dlc options were storred with incorrect type

* Fix error with DLC 6.4, wind speeds were stored as np-array instead of list

* Fix issue with DLC 6.4

* Add DLC 2.1 and 2.3, change ROSCO version to 2.9.4 and change a variable name in IEC_CoeherentGusts.py

* Set default 5.1 times if not provided in input

* Remove old array inits, add case name to table output

* Clean up comments

* Fix DLC 6.2 label

* Write OpenFAST output to stdout as a modeling option

* Flip shear ordering to match previous implementation exactly

* Disable unsteady aero for DLC 1.4

* For DLC 6.2, simulate more yaw misalignments

* Add met options to dlc_options for output reporting

* Rename wave variables/keys for output reporting to match modopt inputs

* Fix add met options

* Sync wind_seeds, rand_seeds, and wind_seed naming

* Remove wind_speeds, all wind_speed now

* Fix probabilities dictionary, re-normalize

* Start DLC docs in WEIS

* Tidy some docs pages

* Outline DLC page

* Ensure RAFT gets correct DLC data

* Test the raft input generated in ex15 against a standard input

* Reorganize to remove globals from dlc_generator

* Use wind_speed to set URef

* Point to new RAFT input file, generated with WEIS

* Add DLC for AEP calculations with constant TI

* Try printing RAFT inputs

* Disable regression test for now

* Assign wave seeds for each case

* Add DLC 7.1 and 7.2

* Fix 1-year sea state

* DLC: Add yaw error as an option for fault cases

* Fix DLC generator test

* Revert 02 input

* Tidy new code blocks

* Add developer docs

* Outline dlc generator cases

* Add DLC documentation (1.X)

* Add tip clearance channels

* Increase WvHiCOff so we can model normal sea states properly

* Rename case to case_i

* DLCDocs: Start documentation for DLC 2.x

* Fix AEP DLC and PSFs

* Move yaw and pitch faults to DLC 2.2 and add excpetions to fault cases

---------

Co-authored-by: AbhineetGupta <[email protected]>

* remove logic for olaf/openmp

* support in setting mpi parameters

* add documentation page

* example for simple call to openfast with mpi

* postpone return so that we can stack the preMPI call and the actual WEIS call

* work in progress, mpi settings moved into modeling options

* adjust if statements

* broadcast mod and opt options

* more progress, not there yet

* sequential or preMPI and actual weis call now working

* better, but MPI can still hang

* adjust if settings, things seem to be running fine now

* fix last typos

* add tests, switch to mpiexec

* remove sbatch kestrel (can't mantain...) and shorten OF sims

* remove outdated py file

* suppress print statements when not needed

* adjust if condition

* lock openfast wisdem and rosco

* adjust list of examples run during testing

* try again

* Tidy up weis_driver_loads

* Print information about modeling options to user

* Simplify weis_driver_loads more

* Make control example case

* Count elements in each design variable

* bring back weis_driver_model_only

* update front scripts examples 3 4 5

* move to single ref_turbine directory

* remove redundant ref turbine files

* remove redundant ref turbine files

* update to latest gha versions

* refresh to new directory structure

* fix single/double quote confusion

* Add user-defined OpenFAST mapping and groups through modeling options (#331)

* WEIS v1.4 (#322)

* Viz tool integration (#301)

* utils update for viz tool

* hotfix for length error in viz utils

* slightly improved hotfix

* trim edge case

* working integration with weis

* add text field for reloading diff yaml file

* f-string typo fix to pass py3.11 unit test

* remove duplicated fields on raft opt

* elevate 'weis_viz' to a command within the conda env

* add optimization type

* reformating vizgen and adding 'weis_viz_input_gen' as a command

---------

Co-authored-by: Cory Frontin <[email protected]>
Co-authored-by: sryu <[email protected]>
Co-authored-by: Sora Ryu <[email protected]>
Co-authored-by: Sora Ryu <[email protected]>

* bug fix in vizFileGen and changes to handle Jul 2024 Kestrel updates (#306)

* bug fix in vizFileGen and fixes to handle Jul 2024 Kestrel updates

* change type settings and default channels

* match type with WEIS level

* minor update on type setting - dlc

---------

Co-authored-by: Sora Ryu <[email protected]>
Co-authored-by: Sora Ryu <[email protected]>

* no need to manipulate turbsim grid for olaf anymore (#313)

* Debug arg parsing error while launching the app & Contribute Initial Documentation (#307)

* fix bug of args parse while running app

* delete unnecessary prints

* change horizontal subplots to vertical ones

* initial documentation

* delete readme file

* minor changes on graph layout

* update on kestrel set up

* merge weis viz docs into existing weis docs

* delete initial weis viz documentation

* update on docs after changing opt type setting

* Revise documentation

---------

Co-authored-by: sryu <[email protected]>
Co-authored-by: dzalkind <[email protected]>

* Remove duplicate numpydoc

* Sync readthedocs yaml with WISDEM

* Add numpydoc to environment

* Set up readthedocs inputs: css, js, bibtex

* Remove old input docs

* Fix images for weis viz

* Add input schema docs following WISDEM

* Add input schema files

* Optimization cleanup to fix and conform to viz changes. (#305)

* added updated optimization documentation... in progress.

* fixed rendering of optimization rst file

* add partial table to docs optimization page

* update to optimization doc.

* analysis updates from kestrel

* added some analysis stuff

* update to optimization docs

* recent kestrel changes

* stuff for local work

* viz toolbox simplfied for inclusion in weis tools

* moved viz_toolbox out of examples and refactored

* corrected accidental git deletion

* updates for kestrel push

* added processor edit for DE/GA

* updates to the viz toolbox and analysis notebook

* actually update analysis notebook

* actually update analysis notebook with more updates

* updated example 17, refactored utilities to match Mayank's files/structure

* remove run script

* more progress toward PR

* add readme

* improvements to analysis and README scripts

* reorganize the output directories to have RAFT vs OF subdirs

* OF updates

* update analysis options to bring the cases together

* some more case unification

* updated the analysis script

* update raft analysis script

* of opt updates and refactoring

* upenfast updates

* removed the weis connections to member ids as om design variables

* update openfast analysis

* updated raft analysis notebook

* improvements to analysis script, some for viz tool update

* update to remove remove load_OMsql_temp

* rename new example file

* updates to get parallel evolutionary methods to work

* Remove platform_elem_memid discrete input

* Add index back in

* Set PropPot only if floating

* viz tools fixed, now using safe yaml loading for problem_vars

* update analysis scripts for OF cases.

* updated OF cases for full ride.

* adjusting ex17 controls study for uniformity

* update with kestrel changes

* fixed output script slight break

* Tidy imports

* bring in line with the incoming WISDEM changes

---------

Co-authored-by: dzalkind <[email protected]>

* Add note about mpi4py for windows users

* Fix connections to drivese_post

* Set run directories relative to input files

* Get member ids from modopts

* Tidy OC3 example

* Re-enable testing of OC3 spar

* Send aero-only hub loads to WISDEM

* Disable potential flow modeling for fixed substructures

* Disable second tower mode in OC3 example for now

* align with new orbit changes

* Upgrade mpi (#321)

* use openmdao mpi, import scripts that were pushed out of wisdem

* like in wisdem, import input yaml files only on rank=0 and then broadcast out

* yaml loading logic better integrated in wisdem

* remove outdated call to mpi4py

* Remove temporary simple_types

* Updates for Optimization study (#323)

* added updated optimization documentation... in progress.

* fixed rendering of optimization rst file

* add partial table to docs optimization page

* update to optimization doc.

* analysis updates from kestrel

* added some analysis stuff

* update to optimization docs

* recent kestrel changes

* stuff for local work

* viz toolbox simplfied for inclusion in weis tools

* moved viz_toolbox out of examples and refactored

* corrected accidental git deletion

* updates for kestrel push

* added processor edit for DE/GA

* updates to the viz toolbox and analysis notebook

* actually update analysis notebook

* actually update analysis notebook with more updates

* updated example 17, refactored utilities to match Mayank's files/structure

* remove run script

* more progress toward PR

* add readme

* improvements to analysis and README scripts

* reorganize the output directories to have RAFT vs OF subdirs

* OF updates

* update analysis options to bring the cases together

* some more case unification

* updated the analysis script

* update raft analysis script

* of opt updates and refactoring

* upenfast updates

* removed the weis connections to member ids as om design variables

* update openfast analysis

* updated raft analysis notebook

* improvements to analysis script, some for viz tool update

* update to remove remove load_OMsql_temp

* rename new example file

* updates to get parallel evolutionary methods to work

* Remove platform_elem_memid discrete input

* Add index back in

* Set PropPot only if floating

* viz tools fixed, now using safe yaml loading for problem_vars

* update analysis scripts for OF cases.

* updated OF cases for full ride.

* adjusting ex17 controls study for uniformity

* update with kestrel changes

* fixed output script slight break

* Tidy imports

* bring in line with the incoming WISDEM changes

* Add max_pitch_rate output to omdao_of

* updates from kestrel

* cory's changes from kestrel

* Write OpenFAST output to stdout as a modeling option

* Rename max_pitch_rate_sim

* Load rosco inputs earlier so we have sizes

* Get correct length from array control DVs

* docs for dan

* Fix length of _pc if not array

* Light revisions in optimization, detail platform design options

* Add optimization to index

* Draft some optimization results

* Add calculated channels

* Use calculated channels for pitch_rate, offset outputs

* Compute calculated channels when openfast library is used

* Use openmdao mpi

---------

Co-authored-by: Cory Frontin <[email protected]>

* prep for next release

---------

Co-authored-by: Mayank Chetan <[email protected]>
Co-authored-by: Cory Frontin <[email protected]>
Co-authored-by: sryu <[email protected]>
Co-authored-by: Sora Ryu <[email protected]>
Co-authored-by: Sora Ryu <[email protected]>
Co-authored-by: Sora Ryu <[email protected]>
Co-authored-by: Sora Ryu <[email protected]>
Co-authored-by: Pietro Bortolotti <[email protected]>
Co-authored-by: Sora Ryu <[email protected]>
Co-authored-by: Garrett Barter <[email protected]>

* Update dependencies (wisdem, rosco) (#327)

* Add user-defined mapping and groups through modeling options

* Pin openfast version

* Check user openfast_input_map for previously defined inputs

* Check for openfast_input_map and use in test

* Add DLC images

* Re-wording based on AG's suggestion

* Add all optimization figs

* Set optimization figs

* Tidy parallel docs

---------

Co-authored-by: Mayank Chetan <[email protected]>
Co-authored-by: Cory Frontin <[email protected]>
Co-authored-by: sryu <[email protected]>
Co-authored-by: Sora Ryu <[email protected]>
Co-authored-by: Sora Ryu <[email protected]>
Co-authored-by: Sora Ryu <[email protected]>
Co-authored-by: Sora Ryu <[email protected]>
Co-authored-by: Pietro Bortolotti <[email protected]>
Co-authored-by: Sora Ryu <[email protected]>
Co-authored-by: Garrett Barter <[email protected]>

* New weis main.py (#333)

* switch to using a main.py for weis, with command line arguments, a GUI, and a self-contained mpi driver

* forgot to add the new files

* fix single/double quote confusion

* validate after removing numpy

* cleanup of coveralls as there were competing configs

* WIP on control_testbench: e5475e1 Tidy, point to initial conditions

* try with coveralls actions

* Fix 02_control_sm example

* Shorten examples in 17 and add to tests

* Move analysis notebooks in IEA-22 example

* Move analysis scripts back to main dir

* Add example for DOE + RAFT, working with MPI

* Move ex17 to weis_main setup and test with SLSQP

* Add RAFT-MPI setups to testing

* condense to one ci file and rely on unittest decorators to skip exhaustive tests unless conditions are met

* include changes from other PR

* revert some of the coverall changes

* add needed test packages

* Switch to openfast_io and update to OpenFAST v4.0.0

* updating examples to run

* new page documenting parallelization (#343)

* updates for testing

* OpenFAST 4.0 prep (#7)

* WEIS v1.4 (#322)

* Viz tool integration (#301)

* utils update for viz tool

* hotfix for length error in viz utils

* slightly improved hotfix

* trim edge case

* working integration with weis

* add text field for reloading diff yaml file

* f-string typo fix to pass py3.11 unit test

* remove duplicated fields on raft opt

* elevate 'weis_viz' to a command within the conda env

* add optimization type

* reformating vizgen and adding 'weis_viz_input_gen' as a command

---------

Co-authored-by: Cory Frontin <[email protected]>
Co-authored-by: sryu <[email protected]>
Co-authored-by: Sora Ryu <[email protected]>
Co-authored-by: Sora Ryu <[email protected]>

* bug fix in vizFileGen and changes to handle Jul 2024 Kestrel updates (#306)

* bug fix in vizFileGen and fixes to handle Jul 2024 Kestrel updates

* change type settings and default channels

* match type with WEIS level

* minor update on type setting - dlc

---------

Co-authored-by: Sora Ryu <[email protected]>
Co-authored-by: Sora Ryu <[email protected]>

* no need to manipulate turbsim grid for olaf anymore (#313)

* Debug arg parsing error while launching the app & Contribute Initial Documentation (#307)

* fix bug of args parse while running app

* delete unnecessary prints

* change horizontal subplots to vertical ones

* initial documentation

* delete readme file

* minor changes on graph layout

* update on kestrel set up

* merge weis viz docs into existing weis docs

* delete initial weis viz documentation

* update on docs after changing opt type setting

* Revise documentation

---------

Co-authored-by: sryu <[email protected]>
Co-authored-by: dzalkind <[email protected]>

* Remove duplicate numpydoc

* Sync readthedocs yaml with WISDEM

* Add numpydoc to environment

* Set up readthedocs inputs: css, js, bibtex

* Remove old input docs

* Fix images for weis viz

* Add input schema docs following WISDEM

* Add input schema files

* Optimization cleanup to fix and conform to viz changes. (#305)

* added updated optimization documentation... in progress.

* fixed rendering of optimization rst file

* add partial table to docs optimization page

* update to optimization doc.

* analysis updates from kestrel

* added some analysis stuff

* update to optimization docs

* recent kestrel changes

* stuff for local work

* viz toolbox simplfied for inclusion in weis tools

* moved viz_toolbox out of examples and refactored

* corrected accidental git deletion

* updates for kestrel push

* added processor edit for DE/GA

* updates to the viz toolbox and analysis notebook

* actually update analysis notebook

* actually update analysis notebook with more updates

* updated example 17, refactored utilities to match Mayank's files/structure

* remove run script

* more progress toward PR

* add readme

* improvements to analysis and README scripts

* reorganize the output directories to have RAFT vs OF subdirs

* OF updates

* update analysis options to bring the cases together

* some more case unification

* updated the analysis script

* update raft analysis script

* of opt updates and refactoring

* upenfast updates

* removed the weis connections to member ids as om design variables

* update openfast analysis

* updated raft analysis notebook

* improvements to analysis script, some for viz tool update

* update to remove remove load_OMsql_temp

* rename new example file

* updates to get parallel evolutionary methods to work

* Remove platform_elem_memid discrete input

* Add index back in

* Set PropPot only if floating

* viz tools fixed, now using safe yaml loading for problem_vars

* update analysis scripts for OF cases.

* updated OF cases for full ride.

* adjusting ex17 controls study for uniformity

* update with kestrel changes

* fixed output script slight break

* Tidy imports

* bring in line with the incoming WISDEM changes

---------

Co-authored-by: dzalkind <[email protected]>

* Add note about mpi4py for windows users

* Fix connections to drivese_post

* Set run directories relative to input files

* Get member ids from modopts

* Tidy OC3 example

* Re-enable testing of OC3 spar

* Send aero-only hub loads to WISDEM

* Disable potential flow modeling for fixed substructures

* Disable second tower mode in OC3 example for now

* align with new orbit changes

* Upgrade mpi (#321)

* use openmdao mpi, import scripts that were pushed out of wisdem

* like in wisdem, import input yaml files only on rank=0 and then broadcast out

* yaml loading logic better integrated in wisdem

* remove outdated call to mpi4py

* Remove temporary simple_types

* Updates for Optimization study (#323)

* added updated optimization documentation... in progress.

* fixed rendering of optimization rst file

* add partial table to docs optimization page

* update to optimization doc.

* analysis updates from kestrel

* added some analysis stuff

* update to optimization docs

* recent kestrel changes

* stuff for local work

* viz toolbox simplfied for inclusion in weis tools

* moved viz_toolbox out of examples and refactored

* corrected accidental git deletion

* updates for kestrel push

* added processor edit for DE/GA

* updates to the viz toolbox and analysis notebook

* actually update analysis notebook

* actually update analysis notebook with more updates

* updated example 17, refactored utilities to match Mayank's files/structure

* remove run script

* more progress toward PR

* add readme

* improvements to analysis and README scripts

* reorganize the output directories to have RAFT vs OF subdirs

* OF updates

* update analysis options to bring the cases together

* some more case unification

* updated the analysis script

* update raft analysis script

* of opt updates and refactoring

* upenfast updates

* removed the weis connections to member ids as om design variables

* update openfast analysis

* updated raft analysis notebook

* improvements to analysis script, some for viz tool update

* update to remove remove load_OMsql_temp

* rename new example file

* updates to get parallel evolutionary methods to work

* Remove platform_elem_memid discrete input

* Add index back in

* Set PropPot only if floating

* viz tools fixed, now using safe yaml loading for problem_vars

* update analysis scripts for OF cases.

* updated OF cases for full ride.

* adjusting ex17 controls study for uniformity

* update with kestrel changes

* fixed output script slight break

* Tidy imports

* bring in line with the incoming WISDEM changes

* Add max_pitch_rate output to omdao_of

* updates from kestrel

* cory's changes from kestrel

* Write OpenFAST output to stdout as a modeling option

* Rename max_pitch_rate_sim

* Load rosco inputs earlier so we have sizes

* Get correct length from array control DVs

* docs for dan

* Fix length of _pc if not array

* Light revisions in optimization, detail platform design options

* Add optimization to index

* Draft some optimization results

* Add calculated channels

* Use calculated channels for pitch_rate, offset outputs

* Compute calculated channels when openfast library is used

* Use openmdao mpi

---------

Co-authored-by: Cory Frontin <[email protected]>

* prep for next release

---------

Co-authored-by: Mayank Chetan <[email protected]>
Co-authored-by: Cory Frontin <[email protected]>
Co-authored-by: sryu <[email protected]>
Co-authored-by: Sora Ryu <[email protected]>
Co-authored-by: Sora Ryu <[email protected]>
Co-authored-by: Sora Ryu <[email protected]>
Co-authored-by: Sora Ryu <[email protected]>
Co-authored-by: Pietro Bortolotti <[email protected]>
Co-authored-by: Sora Ryu <[email protected]>
Co-authored-by: Garrett Barter <[email protected]>

* Level3 -> OpenFAST

* Level2 -> OpenFAST_Linear

* Level1 -> RAFT

* Update doc jsons

* Separate OpenFAST schema from modeling schema

* Draft OF4.0 schema

* Ensure backwards compatibility with Levels 1, 2, 3

* Clean up openfast_schema

* updating OpenFAST yaml

* examples 02 & 06 working

* all tests pass! :D

* Openfast input dir relative to modeling options

* Ensure backwards compatibility in user overrides of OpenFAST

* Remove MC's specific openfast

* Allow OpenFAST modeling options to override wisdem model

* Update example SeaState/HydroDyn inputs

* Change linearization inputs to SS

* Another Level3 -> OpenFAST dict change

* Update basic example 3 to be strip theory only, no 2nd tower mode

* Increment ROSCO version

* HydroDyn -> SeaState in modopts

* Skip print_yaml

* Fix PotFile path issue

* Skip python 3.9

* Update OLAF parameters using modeling options

* Skip nodalOutputs test, no longer on repo

* Make wind measurement locations a list

* Initialize BeamDyn in fst_vt, set TwOutNd to list of strings

* Remove WavePkShp default

* Clean up depreciation of PtfmMass_Init

* Tidy up schema and naming of wave quantities

* Remove initial PropPot defs

* Fix run_general

* Use previously generated .ss* inputs for linearization, update AD inputs

* Fix default WAMITULEN

* trying latest versions of openfast and rosco

* adjust node numbering monopile channels, not always 9

* mpi setup was broken because of leftover Level2 and Level3 flags

* more changes required for Level3 vs OpenFAST flags

* this fixes the MPI=None, although i don't understand where the None comes from

* Change to LD_SLSQP

* Print test logs so we can figure out which ones take long

* Change openmpi to mpich

* Fix arg typo

* cut analysis time to 1 s, transient time to 0 s

* Try petsc4py 3.22.2

* Skip tests, get right to DOE for now

* shorten example 12

* Revert "Skip tests, get right to DOE for now"

This reverts commit 833bbdf.

* Revert "Change openmpi to mpich"

This reverts commit 560b94a.

* Remove openmpi

* update readme, after that we're ready to merge

---------

Co-authored-by: Mayank Chetan <[email protected]>
Co-authored-by: Cory Frontin <[email protected]>
Co-authored-by: sryu <[email protected]>
Co-authored-by: Sora Ryu <[email protected]>
Co-authored-by: Sora Ryu <[email protected]>
Co-authored-by: Sora Ryu <[email protected]>
Co-authored-by: Sora Ryu <[email protected]>
Co-authored-by: Pietro Bortolotti <[email protected]>
Co-authored-by: Sora Ryu <[email protected]>
Co-authored-by: Garrett Barter <[email protected]>
Co-authored-by: AbhineetGupta <[email protected]>
Co-authored-by: Pietro Bortolotti <[email protected]>
Co-authored-by: Mayank Chetan <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant